home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
COMMUNIC
/
GC101C.ZIP
/
GOCIS.BTN
< prev
next >
Wrap
Text File
|
1993-11-20
|
17KB
|
573 lines
;**************************************************************************
; GoCIS User defined button bar L.Lee 6/30/93
;**************************************************************************
;
; You can redefine buttons to tailor GoCIS to your style and needs.
; This is an example of such a button definition file.
; up to 128 buttons can be defined in a single file. If you need
; more than this I suggest having one button load a separate
; button file..
;
;* [DEFINED.FORMAT] *******************************************************
;
; Some have expressed the need to display more than one row of buttons
; in this case you need to define an optional [DEFINED.FORMAT] section
; this the only section which is not considered a button. In this
; section you can only define two fields (either of which are optional)
;
; Define &MaxRows = (1 to 3 defaults as 1)
; This field defines the number of row of buttons when displayed
; horizontially across the top or bottom on the display
;
; Define &MaxColumns = (1 to 3 defaults as 1)
; This field defines the number of columns of buttons when displayed
; Vertically down the left or right side of the display
;
;
;
;* [BUTTON NAME] **********************************************************
;
; You specify a button name by placing it in braces [name]. The
; name is used internally by GoCIS to identify the button. You can
; use any name you like as long as it is unique within the file.
;
; After the button name you specify the definition of several
; components. Any and all of these are optional. The defined
; variables are used to initially display the button. At the very
; least you should probably define the following:
;
; DEFINE &CAPTION =caption to display on the button
; DEFINE &ICON =the name of an icon (.ICO) file to display on
; the button
; DEFINE &TITLE =text to display as the mouse moves across the
; button
; DEFINE &DRAGMODE =can the button be dragged to a forum?
; (0=no, 1=yes)
;
; Finally comes the actions you'd like carried out as the button is pressed
; this consists of some verb or action and any parameters as appropriate
;
; The following is a list of the commands and the actions
;
; SET &variable =value
; &Variable =value
;
; The varibles that you can set are as follows:
;
; &CAPTION =caption to display on the button
; &ICON =the name of an icon (.ICO) file to display on the button
; &TITLE =text to display as the mouse moves across the button
; &DRAGMODE =can the button be dragged to a forum (0=no, 1=yes);
; &CONFIG =load a new configuration file
; &SCOPE =Set the scope of the action buttons to "VIEW" or "FORUM"
; &VIEW =display this view
; &FORUM =Make this the current forum
; &BAUD =set baud rate to this value
; &PHONE =set phone number to this value
; &FIELD1..5 =user defined to do with as you please
;
;
; +ACTION named-action
; -ACTION named-action
;
; The specified action can be set "+" or removed "-". Actions that
; can be named include:
;
; Join.Forum
; Set.Defaults
; Update.Sections
; Read.Announcements
; Scan.New.Messages
; Read.Messages
; Send.Replies
; Read.New.Messages
; Read.Waiting.Messages
; Scan.Libraries
; Download.Files
; Upload.Files
;
;
;
; +PENDING named-pending-state
; -PENDING named-pending-state
;
; The pending states are the flags that display the fact that
; you have recieved messages, headers, and or catalogs. Pending
; states you can specify include:
;
; LBR (catalogs)
; MSG (messages)
; MQS (headers)
;
;
; LOAD button-filename
;
; Loads a new set of buttons from the specified file
;
; DO ScriptfileName
; RUNSCRIPT ScriptfileName
;
; Both of these are the same and causes GoCIS to execute the given
; communications script. This of course means that GoCIS will be
; loging on to CIS and performing some prescribed actions..
;
; RUN window-state program parameters
; EXECUTE window-state program parameters
; SHELL window-state program parameters
;
; All of these are the same and causes GoCIS to execute the given
; program passing it the specifed parameters. The window-state
; is optional and defaults to NORMAL, but can be specified as
; NORMAL, MAXIMIZED otr MINIMIZED.
;
; WAITAPP Seconds or .fraction-of-second
; WAITSTART Seconds or .fraction-of-second
; WAITEND
;
; Each of these commands can cause GoCIS to suspend execution
; until a "SHELLED" application has started or completed.
; WAITSTART causes the button to pause (N) seconds for the application to start
; WAITEND causes the button to pause until the application ends
; WAITAPP causes the button to pause (N) seconds for the application to start
; and then futher causes the button to pause until the application ends
;
;
;
; PAUSE Seconds or .fraction-of-second
;
; This causes the button to pause before continuing. You can enter
; decimal point to indicate a delay in fractions of a second as well.
; This is useful after using the RUN command since many windows
; programs need a few seconds before they are willing to accept commands
;
;
;
; SENDKEYS keystrokes
;
; Defines the keystrokes to be simulated by the program
;
;
; If you are already familiar with the VB SendKeys function you
; already know the format of the keystrokes that can be sent
; For those of you not familiar with this command the following
; characters have special meaning:
;
; '+' SHIFT
; '^' CONTROL
; '%' ALT
;
; So to simulate an ALT-R you code %R
; CONTROL-R would be ^R and so on...
;
; The following keys can be simulated by enclosing them in braces {}
;
; {ENTER} {HELP} {LEFT} {RIGHT} {UP} {DOWN} {PGDN} {PGUP} {F1 ... F12}
;
; You can repeat a keystroke by specifing the key within braces and
; specifing a count. Fox example you can code:
;
; {TAB}{TAB}{TAB}{TAB} ot {TAB 4}
;
;
; CONDITIONAL LOGIC...
;
; IF.. THEN.. ENDIF
; FOR.. NEXT...
;
; This was never intended to be the do all language it does support
; some very simple conditional commands that can be useful..
;
; IF condition THEN
; ...
; ELSE
; ...
; ENDIF
;
; if the condition is true the commands between the if and endif
; are executed. You can nest if's up to 20 deep.
;
; There are 5 functions that are avaiable to be used only within an
; "IF":
;
; FileExists(filename).. Returns true if the file exists
; FileData(FileName)... Returns date/time of the file
; Today()... Returns current date/time
; Pending(state)... Returns true if the state is pending
; Action(flag)... Returns true if the flag is set
;
;
; FOR EACH FORUM
; ...
; NEXT
;
; This is the only looping construct and it executes commands for between
; FOR..NEXT for each forum listed in the current view...
;
;
;
; <<<< ADDITIONAL NOTES >>>>>
;
; Finally you can use GoCIS variable data that will be replaced when
; the button is pressed with the value of a GoCIS field
;
; For example instead of hard coding a user name you can
; use the &UserName variable, for which GoCIS will substitute
; the cis user name at the time the button os pressed.
;
; The following variables can be used:
;
; &Caption Caption of the button
; &Icon Icon file name of the button
; &Title Title of the button
;
; &ExePath Path to GoCIS.EXE
;
; &ForumName
;